home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- set hot to 14
- set vis to 0
- set check to 0
- set cold to 2
- repeat while hot < 20
- if rollOver(hot) then
- set check to 1
- exit repeat
- end if
- set hot to hot + 1
- end repeat
- if check = 0 then
- clearAll()
- go("rollin")
- end if
- if hot = 14 then
- set vis to 2
- else
- if hot = 15 then
- set vis to 4
- else
- if hot = 16 then
- set vis to 6
- else
- if hot = 17 then
- set vis to 8
- else
- if hot = 18 then
- set vis to 10
- else
- if hot = 19 then
- set vis to 12
- end if
- end if
- end if
- end if
- end if
- end if
- set the visible of sprite vis to 1
- set the visible of sprite (vis + 1) to 1
- repeat while cold < 14
- if (cold <> vis) and (cold <> (vis + 1)) then
- set the visible of sprite cold to 0
- end if
- set cold to cold + 1
- end repeat
- updateStage()
- go(the frame)
- end
-